package com.oa.order.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class OrderDTO {
	/**------------业务数据--------------**/
	/*订餐*/
	private Long orderId;
	private int dinner;
	private int nightSnack;
	private int breakfast;
	private int lunch;
	private Date applyTime;
	private String state;
	private String approver;
	private Date approvalTime;
	private String refuseReason;
	
	private Long userId;
	private String userName;
	private Long department;
	private String departmentName;
	
    /**------------流程数据--------------**/
    /*任务*/
    private String taskId;
    private String taskName;
    private Date   taskCreateTime;
    private String assignee;
    private String taskDefinitionKey;
    /*流程实例*/
    private String processInstanceId;
    /*流程图定义*/
    private String processDefinitionId;
    private boolean suspended;
    private int version;
    
	public Long getOrderId() {
		return orderId;
	}
	public int getDinner() {
		return dinner;
	}
	public int getNightSnack() {
		return nightSnack;
	}
	public int getBreakfast() {
		return breakfast;
	}
	public int getLunch() {
		return lunch;
	}
	@JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone="GMT+8")
	public Date getApplyTime() {
		return applyTime;
	}
	public String getState() {
		return state;
	}
	public String getApprover() {
		return approver;
	}
	@JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone="GMT+8")
	public Date getApprovalTime() {
		return approvalTime;
	}
	public Long getUserId() {
		return userId;
	}
	public String getUserName() {
		return userName;
	}
	public Long getDepartment() {
		return department;
	}
	public String getTaskId() {
		return taskId;
	}
	public String getTaskName() {
		return taskName;
	}
	@JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone="GMT+8")
	public Date getTaskCreateTime() {
		return taskCreateTime;
	}
	public String getAssignee() {
		return assignee;
	}
	public String getTaskDefinitionKey() {
		return taskDefinitionKey;
	}
	public String getProcessInstanceId() {
		return processInstanceId;
	}
	public String getProcessDefinitionId() {
		return processDefinitionId;
	}
	public boolean isSuspended() {
		return suspended;
	}
	public int getVersion() {
		return version;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public String getRefuseReason() {
		return refuseReason;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public void setDinner(int dinner) {
		this.dinner = dinner;
	}
	public void setNightSnack(int nightSnack) {
		this.nightSnack = nightSnack;
	}
	public void setBreakfast(int breakfast) {
		this.breakfast = breakfast;
	}
	public void setLunch(int lunch) {
		this.lunch = lunch;
	}
	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}
	public void setState(String state) {
		this.state = state;
	}
	public void setApprover(String approver) {
		this.approver = approver;
	}
	public void setApprovalTime(Date approvalTime) {
		this.approvalTime = approvalTime;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public void setDepartment(Long department) {
		this.department = department;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public void setTaskCreateTime(Date taskCreateTime) {
		this.taskCreateTime = taskCreateTime;
	}
	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}
	public void setTaskDefinitionKey(String taskDefinitionKey) {
		this.taskDefinitionKey = taskDefinitionKey;
	}
	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}
	public void setProcessDefinitionId(String processDefinitionId) {
		this.processDefinitionId = processDefinitionId;
	}
	public void setSuspended(boolean suspended) {
		this.suspended = suspended;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public void setRefuseReason(String refuseReason) {
		this.refuseReason = refuseReason;
	}
    
}
